package com.kaiwukj.android.ufamily.mvp.http.entity.result;

import com.kaiwukj.android.ufamily.mvp.http.entity.base.BaseBean;

import java.util.List;

public class GMOrderDetailResult extends BaseBean {
    /**
     * "deviceVOList": [
     * {
     * "id": 12,
     * "equipmentType": 1,
     * "equipmentName": "SDFwer",
     * "deviceRemarks": "123",
     * "equipmentSerialNumber": "E45640458",
     * "verificationCode": "SBDZUI",
     * "networkOperators": "1",
     * "networkSignal": "1",
     * "liveAddress": "ezopen://open.ys7.com/E45640458/1.hd.live"
     * }
     * ],
     * "projectName": "好多事高合金钢",
     * "startDate": "2020-06-27",
     * "completionDate": "2020-07-21",
     * "projectPhase": 1,
     * "projectAccountId": 5,
     * "projectManagerName": "徐璐勇",
     * "projectManagerHeadImg": "http://jylqndev.kaiwumace.com/1593671741167",
     * "projectManagerPhone": "18174080547",
     * "supervisorName": "万承强",
     * "supervisorHeadImg": "http://jylqndev.kaiwumace.com/1593671086276",
     * "supervisorPhone": "15079100217",
     * "designerName": "ytre",
     * "designerHeadImg": "http://jylqn.kaiwumace.com/hendImg.png",
     * "designerPhone": "543",
     * "id": 11,
     * "projectOrderNum": "2020071014324100019679",
     * "customerName": "李云龙",
     * "customerPhone": "15949581550",
     * "orderAmount": 12000,
     * "scheduledContractNo": "854668465",
     * "officialContractNo": "56465456",
     * "scheduledContractPDF": null,
     * "officialContractPDF": null,
     * "apartmentRenderings": "http://jylqndev.kaiwumace.com/1594362708078",
     * "designSketch": "http://jylqndev.kaiwumace.com/1594362711174",
     * "designSketchUrl": "twsyhghsgjsd",
     * "otherAccessories": "http://jylqndev.kaiwumace.com/1594367964649_pdf-online-h5-in-IOS-ANDROID-master.zip,http://jylqntest.kaiwumace.com/1594712311498_pdf.zip"
     */
    private List<VOResult> deviceVOList;
    private String projectName;
    private String startDate;
    private String completionDate;
    private Integer projectPhase;
    private Integer projectAccountId;
    private String projectManagerName;
    private String projectManagerHeadImg;
    private String projectManagerPhone;
    private String supervisorPhone;
    private String supervisorName;
    private String supervisorHeadImg;
    private String designerName;
    private String designerHeadImg;
    private String designerPhone;

    private Integer id;
    private String projectOrderNum;
    private String customerPhone;
    private String customerName;
    private Double orderAmount;
    private String scheduledContractNo;
    private String scheduledContractPDF;
    private String officialContractNo;
    private String officialContractPDF;
    private String apartmentRenderings;
    private String designSketch;
    private String designSketchUrl;
    private String otherAccessories;
    private Double frontMoneyAmount;
    private Double finalPaymentAmount;

    public List<VOResult> getDeviceVOList() {
        return deviceVOList;
    }

    public void setDeviceVOList(List<VOResult> deviceVOList) {
        this.deviceVOList = deviceVOList;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getCompletionDate() {
        return completionDate;
    }

    public void setCompletionDate(String completionDate) {
        this.completionDate = completionDate;
    }

    public Integer getProjectPhase() {
        return projectPhase == null ? 0 : projectPhase;
    }

    public void setProjectPhase(Integer projectPhase) {
        this.projectPhase = projectPhase;
    }

    public String getProjectPhaseStr() {
        if (getProjectPhase() == 1) {
            return "开工准备";
        } else if (getProjectPhase() == 2) {
            return "拆改阶段";
        } else if (getProjectPhase() == 3) {
            return "水电阶段";
        } else if (getProjectPhase() == 4) {
            return "泥工阶段";
        } else if (getProjectPhase() == 5) {
            return "木工阶段";
        } else if (getProjectPhase() == 6) {
            return "刮瓷阶段";
        } else if (getProjectPhase() == 7) {
            return "安装阶段";
        } else if (getProjectPhase() == 8) {
            return "完工阶段";
        }
        return "开工准备";
    }

    public Integer getProjectAccountId() {
        return projectAccountId;
    }

    public void setProjectAccountId(Integer projectAccountId) {
        this.projectAccountId = projectAccountId;
    }

    public String getProjectManagerName() {
        return projectManagerName;
    }

    public void setProjectManagerName(String projectManagerName) {
        this.projectManagerName = projectManagerName;
    }

    public String getProjectManagerHeadImg() {
        return projectManagerHeadImg;
    }

    public void setProjectManagerHeadImg(String projectManagerHeadImg) {
        this.projectManagerHeadImg = projectManagerHeadImg;
    }

    public String getProjectManagerPhone() {
        return projectManagerPhone;
    }

    public void setProjectManagerPhone(String projectManagerPhone) {
        this.projectManagerPhone = projectManagerPhone;
    }

    public String getSupervisorPhone() {
        return supervisorPhone;
    }

    public void setSupervisorPhone(String supervisorPhone) {
        this.supervisorPhone = supervisorPhone;
    }

    public String getSupervisorName() {
        return supervisorName;
    }

    public void setSupervisorName(String supervisorName) {
        this.supervisorName = supervisorName;
    }

    public String getSupervisorHeadImg() {
        return supervisorHeadImg;
    }

    public void setSupervisorHeadImg(String supervisorHeadImg) {
        this.supervisorHeadImg = supervisorHeadImg;
    }

    public String getDesignerName() {
        return designerName;
    }

    public void setDesignerName(String designerName) {
        this.designerName = designerName;
    }

    public String getDesignerHeadImg() {
        return designerHeadImg;
    }

    public void setDesignerHeadImg(String designerHeadImg) {
        this.designerHeadImg = designerHeadImg;
    }

    public String getDesignerPhone() {
        return designerPhone;
    }

    public void setDesignerPhone(String designerPhone) {
        this.designerPhone = designerPhone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectOrderNum() {
        return projectOrderNum;
    }

    public void setProjectOrderNum(String projectOrderNum) {
        this.projectOrderNum = projectOrderNum;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getScheduledContractNo() {
        return scheduledContractNo;
    }

    public void setScheduledContractNo(String scheduledContractNo) {
        this.scheduledContractNo = scheduledContractNo;
    }

    public String getScheduledContractPDF() {
        return scheduledContractPDF;
    }

    public void setScheduledContractPDF(String scheduledContractPDF) {
        this.scheduledContractPDF = scheduledContractPDF;
    }

    public String getOfficialContractNo() {
        return officialContractNo;
    }

    public void setOfficialContractNo(String officialContractNo) {
        this.officialContractNo = officialContractNo;
    }

    public String getOfficialContractPDF() {
        return officialContractPDF;
    }

    public void setOfficialContractPDF(String officialContractPDF) {
        this.officialContractPDF = officialContractPDF;
    }

    public String getApartmentRenderings() {
        return apartmentRenderings;
    }

    public void setApartmentRenderings(String apartmentRenderings) {
        this.apartmentRenderings = apartmentRenderings;
    }

    public String getDesignSketch() {
        return designSketch;
    }

    public void setDesignSketch(String designSketch) {
        this.designSketch = designSketch;
    }

    public String getDesignSketchUrl() {
        return designSketchUrl;
    }

    public void setDesignSketchUrl(String designSketchUrl) {
        this.designSketchUrl = designSketchUrl;
    }

    public String getOtherAccessories() {
        return otherAccessories;
    }

    public void setOtherAccessories(String otherAccessories) {
        this.otherAccessories = otherAccessories;
    }

    public Double getFrontMoneyAmount() {
        return frontMoneyAmount;
    }

    public void setFrontMoneyAmount(Double frontMoneyAmount) {
        this.frontMoneyAmount = frontMoneyAmount;
    }

    public Double getFinalPaymentAmount() {
        return finalPaymentAmount;
    }

    public void setFinalPaymentAmount(Double finalPaymentAmount) {
        this.finalPaymentAmount = finalPaymentAmount;
    }

    public static class VOResult extends BaseBean {
        private Integer id;
        private Integer equipmentType;
        private String equipmentName;
        private String deviceRemarks;
        private String equipmentSerialNumber;
        private String verificationCode;
        private String networkOperators;
        private String networkSignal;
        private String liveAddress;
        private String accessToken;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public Integer getEquipmentType() {
            return equipmentType;
        }

        public void setEquipmentType(Integer equipmentType) {
            this.equipmentType = equipmentType;
        }

        public String getEquipmentName() {
            return equipmentName;
        }

        public void setEquipmentName(String equipmentName) {
            this.equipmentName = equipmentName;
        }

        public String getDeviceRemarks() {
            return deviceRemarks;
        }

        public void setDeviceRemarks(String deviceRemarks) {
            this.deviceRemarks = deviceRemarks;
        }

        public String getEquipmentSerialNumber() {
            return equipmentSerialNumber;
        }

        public void setEquipmentSerialNumber(String equipmentSerialNumber) {
            this.equipmentSerialNumber = equipmentSerialNumber;
        }

        public String getVerificationCode() {
            return verificationCode;
        }

        public void setVerificationCode(String verificationCode) {
            this.verificationCode = verificationCode;
        }

        public String getNetworkOperators() {
            return networkOperators;
        }

        public void setNetworkOperators(String networkOperators) {
            this.networkOperators = networkOperators;
        }

        public String getNetworkSignal() {
            return networkSignal;
        }

        public void setNetworkSignal(String networkSignal) {
            this.networkSignal = networkSignal;
        }

        public String getLiveAddress() {
            return liveAddress;
        }

        public void setLiveAddress(String liveAddress) {
            this.liveAddress = liveAddress;
        }

        public String getAccessToken() {
            return accessToken;
        }

        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }
    }
}
